package com.fh.alipay.service.impl;

import com.fh.alipay.po.LqiMerchant;
import com.fh.alipay.mapper.LqiMerchantMapper;
import com.fh.alipay.service.ILqiMerchantService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fh.alipay.model.dto.LqiMerchantDTO;
import com.fh.alipay.model.vo.LqiMerchantVO;
import com.fh.alipay.model.query.LqiMerchantQuery;
import java.util.List;
/**
 * @author fh
 * @date 2022-05-03
 * @description 猎奇商户 服务实现类
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class LqiMerchantServiceImpl extends ServiceImpl<LqiMerchantMapper, LqiMerchant> implements ILqiMerchantService {

	@Override
	public IPage<LqiMerchant> getWithPage(Page page, LqiMerchantQuery query) {
	    return baseMapper.getWithPage(page, query);
	}

	@Override
    public LqiMerchant getOneByQuery(LqiMerchantQuery query) {
        return baseMapper.getOneByQuery(query);
    }

    @Override
    public List<LqiMerchant> getAllByQuery(LqiMerchantQuery query) {
        return baseMapper.getAllByQuery(query);
    }
}
